﻿

using WooEngine.Utility.Security.Base;

namespace WooEngine.ConfigWork.Table
{
    public abstract class ProtoDataBase 
    {
        protected EncryptInt id;

        public void init(EncryptInt id, JSONObject[] data)
        {
            this.id = id;
            initData(data);
        }

        protected abstract void initData(JSONObject[] data);

        public EncryptInt Key
        {
            get
            {
                return this.id;
            }
          
        }
    }
}